package com.xbongbong.paas.constant;


/**
 * @author: wufeng
 * @date: 2018/9/7 18:26
 * @desrcption: 配置名称的常量
 */
public class ConfigConstant {

    /**
     * 卡片常量前缀
     */
    public static final String CUSTOM_CARD = "custom_card";
    /**
     * 常用表单常量前缀
     */
    public static final String COMMON_FORM = "common_form";

    /**
     * 现在系统内支持最小精度为小数6位
     */
    public static final  Double amountAccuracy = 0.0000001;

    /**
     * SFA的同步锁filePrefix
     */
    public static final String CONCURRENT_LOCK_SFA = "conLockSFA";

    /**
     * 资源文件根目录
     */
    public static final String resourcesBasicUrl= "https://cdn.xbongbong.com/xbb-dingtalk-web/3.40.3";

    /**
     * 资源文件根目录（另一个）
     */
    public static final String resourcesBasicAnotherUrl= "https://xbongbong.oss-cn-hangzhou.aliyuncs.com/xbb-dingtalk-web/3.40.3";

    /**
     * 默认产品图片
     */
    public static final String DEFAULT_PRO_PIC = resourcesBasicUrl + "/images/defaultpro.png";

    /**
     * 默认方形头像
     */
    public static final String DEFAULT_PIC = resourcesBasicUrl + "/images/default.jpg";
    /**
     * 首页图
     */
    public static final String MALL_INDEX_PIC = "https://cdn.xbongbong.com/xbbProLocal/1/1/png/1608532180366e86b9db064b2a91bd44a3f3a17c2bee5.png?1608532180360";

    /**
     * 默认圆形头像
     */
    public static final String DEFAULT_CIRCULAR_PIC = resourcesBasicAnotherUrl + "/images/default.jpg";

    /**
     * jpg/jpeg 图片转化为base64为字符串后的前缀
     */
    public static final String JPEG_IMG_BASE64_HEADER = "data:image/jpeg;base64,";

    /**
     * DES对称加密对应的秘钥
     */
    public static final String DES_DEFAULT_KEY = "xbbDingtalk!@";

    /**
     * 高德地图WebApi Key
     */
    public static final String GAODE_WEB_API_KEY = "b0fd268e5c3a8a8d854bbd8a10ec08de";

    public static final String appUrl = "";

    public static final String DEFAULT_ITEM_PIC = "https://cdn3.xbongbong.com/xbbProPrd/ding45b220254ed2e97335c2f4657eb6378f/16516951181188381/png/16170857617574396db447b0705c5d2ca66b27229cb69.png?1617085761749";

    /**
     * 同步数据到销帮帮
     */
    public static final String SYNC_PRO_REDIS_PREFIX = "sync";
    /**
     * 添加联系人缓存
     */
    public static final String ADD_CONTACT_TO_XBB = "addContactToXbb";
    /**
     * 同步联系人状态
     */
    public static final String SYNC_CONTACT_STATUS_REDIS_KEY = "syncContactStatus";

}
